// Copyright  2004-2008 Backplane Ltd.
//
// This file is part of Ubiquity formsPlayer
//
// Ubiquity formsPlayer is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3 of the License, or (at your
// option) any later version.
//
// Ubiquity formsPlayer is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// You should have received a copy of the GNU General Public License
// along with Ubiquity formsPlayer If not, see <http://www.gnu.org/licenses/>.
//	
//
//   Purpose:  Globals.
//   $Id$


//CSS
//TODO: 
//	when the method changes to allow proper
//	specification of pseudo...s, these should be
//	changed to an id that a punter would be unlikeley
//	to 
//pseudoclasses
const BSTR cssClassEnabled		= ::SysAllocString(L" pc-enabled enabled");
const BSTR cssClassDisabled		= ::SysAllocString(L" pc-disabled disabled");
const BSTR cssClassRequired		= ::SysAllocString(L" pc-required required");
const BSTR cssClassOptional		= ::SysAllocString(L" pc-optional optional");
const BSTR cssClassValid		= ::SysAllocString(L" pc-valid valid");
const BSTR cssClassInvalid		= ::SysAllocString(L" pc-invalid invalid");
const BSTR cssClassReadOnly		= ::SysAllocString(L" pc-read-only read-only");
const BSTR cssClassReadWrite	= ::SysAllocString(L" pc-read-write read-write");
const BSTR cssClassSelected 	= ::SysAllocString(L" pc-selected selected");
const BSTR cssClassDeselected	= ::SysAllocString(L" pc-deselected deselected");

const BSTR cssClassInFocus 		= ::SysAllocString(L" pc-focus");
const BSTR cssClassOutOfFocus	= ::SysAllocString(L" pc-blurred");
const BSTR cssBlurredInvalid	= ::SysAllocString(L" pc-blurred-invalid");

//pseudoelements
const BSTR cssClassControl		= ::SysAllocString(L"control");
const BSTR cssClassRepeatItem	= ::SysAllocString(L"repeat-item");
const BSTR cssClassRepeatIndex	= ::SysAllocString(L"repeat-index");

//global functions
